package com.bilibili.basic.util;

import lombok.Data;

@Data
public class JsonResult {

    private boolean success = true;

    private String msg = ("操作成功");

    public static JsonResult me() {
        return new JsonResult();
    }


    public JsonResult setMsg(String msg) {
        this.msg = msg;
        this.success = false;
        return this;
    }
    public static JsonResult men(){
        return new JsonResult();
    }
}
